import Container from "@/container";

const merchantRouter = {
  path: "/merchantManage",
  component: Container,
  redirect: "noRedirect",
  name: "merchantManage",
  meta: {
    permitIds: ["merchant"],
    title: "商户管理",
    icon: "tb_09.png"
  },
  children: [
    {
      path: "/convenientInfo",
      name: "convenientInfo",
      meta: {
        parentTitle: "商户管理",
        title: "便民信息管理",
        index: "9-2",
        permitIds: ["merchant_conve"]
      },
      component: () => import("@/pages/merchant/convenient_info")
    },
    {
      path: "/convenientBusiness",
      name: "convenientBusiness",
      meta: {
        parentTitle: "商户管理",
        title: "便民信息商家信息",
        hasGoBack: true,
        permitIds: ["merchant_conve"]
      },
      component: () =>
        import("@/pages/merchant/convenient_info/convenient_business")
    }
  ]
};
export default merchantRouter;
